C code for PENextPrintWindowMagnification and PEZoomPreviewWindow

The following code demonstrates how to change Preview Window magnification using PENextPrintWindowMagnification and PEZoomPreviewWindow:

PENextPrintWindowMagnification

if (!PENextPrintWindowMagnification(Job)){
    // Handle error
}

PEZoomPreviewWindow

short            zoomLevel;
zoomLevel = PE_ZOOM_SIZE_FIT_BOTH_SIDES;
    // Fit both sides of report
if (!PEZoomPreviewWindow(Job, zoomLevel)){
    // Handle error
}


Seagate Software IMG Holdings, Inc.
http://www.seagatesoftware.com
Support services:
http://support.seagatesoftware.com